package com.itcast.demo_one.kotlin

fun main() {
    val man = Person()
    man.name = "张三"
    man.age = 18
    man.intro()

    val woman = Person()
    woman.name = "小丽"
    woman.age = 18
    woman.intro()

    println(man == woman)

}


class Person {
    var name: String = ""
    var age: Int = 0

    fun intro() {
        println("我的名字是：$name, 我的年龄是：$age")
    }
}